package org.hxyjs.dao;


import org.hxyjs.entity.Advertisers;
import org.hxyjs.entity.Advertisers;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface AdvertisersDao {
    public List<Advertisers>  getAllAdvertiserss() throws Exception;
    Integer deleteAdvertisersByAdno(String adno) throws Exception;
    Integer updateAdvertisersByAdno(Advertisers advertisers) throws Exception;
    Integer addAdvertisers(Advertisers advertisers) throws Exception;
    public List<Advertisers> getAdvertisersByPage(PageInfo pageInfo) throws Exception;

    Advertisers getAccountByAccountName(String adname);
}
